/**
 * 
 */
package xx.teach.entity;

import java.sql.Date;
import java.sql.Timestamp;

import xx.db.QueryRunner;
import xx.db.annotation.Column;
import xx.db.annotation.TableName;
import xx.db.sql.Owner;
import xx.db.sql.Table;

/**
 * @author Administrator 2014-3-18
 */
@TableName(name = "t_meno")
public class Meno extends Table
{

    /**
     * @param qr
     * @param owner
     */
    public Meno(QueryRunner qr, Owner owner)
    {
        super(qr, owner);
    }

    public static final String MENO_ID = "meno_id";

    @Column(name = MENO_ID, pk = true)
    private long menoId;

    public static final String GROUP_ID = "group_id";

    @Column(name = GROUP_ID)
    private long groupId;

    public static final String CONTENT = "content";

    @Column
    private String content;

    public static final String CREATE_DATE = "create_date";

    @Column(name = CREATE_DATE)
    private Timestamp createDate;

    public long getMenoId()
    {
        return menoId;
    }

    public Meno setMenoId(long menoId)
    {
        this.menoId = menoId;
        return this;
    }

    public long getGroupId()
    {
        return groupId;
    }

    public Meno setGroupId(long groupId)
    {
        this.groupId = groupId;
        return this;
    }

    public String getContent()
    {
        return content;
    }

    public Meno setContent(String content)
    {
        this.content = content;
        return this;
    }

    public Timestamp getCreateDate()
    {
        return createDate;
    }

    public Meno setCreateDate(Timestamp createDate)
    {
        this.createDate = createDate;
        return this;
    }
}
